//
//  SLCustomerTestimonialsHeader.m
//  SulitLoanDemo
//
//  Created by 虞嘉伟 on 2025/2/19.
//  
  

#import "SLCustomerTestimonialsHeader.h"
#import <YYKit.h>
#import <Masonry.h>


@implementation SLCustomerTestimonialsHeader

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithReuseIdentifier:reuseIdentifier]) {
        self.backgroundColor = UIColor.whiteColor;
        [self addSubview:self.decorate];
        [self.decorate mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.right.equalTo(self).inset(0);
            make.top.bottom.equalTo(self);
        }];
    }
    return self;
}

- (UIImageView *)decorate {
    if (!_decorate) {
        _decorate = [UIImageView new];
        _decorate.contentMode = UIViewContentModeScaleAspectFit;
        _decorate.image = [UIImage imageNamed:@"icon_circle_bar"];
    }
    return _decorate;
}
@end
